package edu.ncet.desktop.shared;

import com.extjs.gxt.ui.client.data.BaseModel;

public class TypeModel extends BaseModel {

	private static final long serialVersionUID = 1L;

	public TypeModel() {
	}
	
	public TypeModel(Integer quesType, String typeName){
		set("typeNo" , quesType); // This is number which identifies the type.
		set("typeName" ,typeName);
	}
	
	public Integer getTypeNo(){
		return (Integer)get("typeNo");
	}
	
	public void setTypeNo(Integer typeNo){
		set("typeNo", typeNo);
	}
	
	public String getTypeName(){
		return (String)get("typeName");
	}
	
	public void setTypeName(String typeName){
		set("typeName", typeName);
	}
}
